import {TableColumns} from "@/components/layout/table/table-columns";
import {NUMBER} from "@/utils/enums/type-enums";

export const personnelColumns: TableColumns[] = [
  {
    type: NUMBER,
    label: '序号'
  },
  {
    label: '人员名称',
    name: 'displayName'
  },
  {
    label: '身份证号',
    name: 'idCard'
  },
  {
    label: '手机号',
    name: 'cellphone'
  },
  {
    label: '操作',
    type: 'custom',
    align: 'center',
    buttons: [
      {method: 'edit', text: '编辑'},
      {method: 'relation', text: '关联设备'}
    ]
  },
]